package com.activiti.demo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
// scanBasePackages 确保其它模块的bean能被spring扫描到
@SpringBootApplication(scanBasePackages = {"com.activiti"})
public class ActDemoApplication {

    public static void main(String[] args) {
        long start = System.currentTimeMillis();
        SpringApplication.run(ActDemoApplication.class, args);
        long end = System.currentTimeMillis();
        log.info("启动耗时 {} ms", end - start);
    }

}
